package com.elitetyc.eliteim.client.config;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author yuanchao.tan
 * @version 1.0
 * @description 所有信息
 * @Date 2021/9/17 15:29
 */
@Data
public class AllInfo {

    private ClientInfo client;
    private ServerInfo server;

    @Data
    @AllArgsConstructor
    public static class ClientInfo{
        private String userId;
        private String userName;
    }

    @Data
    @AllArgsConstructor
    public static class ServerInfo{
        // 服务端ip
        private String ip;
        // 服务端端口
        private Integer serverPort;
        // 服务端netty监听端口
        private Integer serverImPort;
    }
}
